-record(packet_tuple,
{packet,
	size,
	context,
  datetime}
).
-record(lwapp_protocol,{
	rssi,
	ap,
	ac,
	dir
}).
-record(l1_protocol,{
	source,
	index,
	interface_id,
	coming_datetime
	}).
-record(l2_protocol,{
	source_mac,
	dest_mac
}).
-record(ip_protocol,{
	source_ip,
	dest_ip,
	protocol
}).
-record(udp_protocol,{
	source_port,
	dest_port
}).


-record(wlan80211c,{
	mgt = 0,
	assoc_resp = 0,
	assoc_req = 0,
	ctrl = 0,
	data = 0,
	unknown = 0
}).
-record(wlan_spec,{
	ap_ip,
	ac_ip
}).
-record(sub_packet,{
	dir, 	%% up, down?
	prot,
	packet,
	index,
	ran_info
}).


-record(s1ap_nas,{
	s1ap_proc,
	enb_ue_id,
	mme_ue_id,
	cgi = undefined, %%globally identify a cell
	tmsi = undefined,
  res = 0,
	tai = {0,0},
	nas = <<>>,
	rab_info = [],
  rate = {0,0},
	connection,
	index,
  datetime
}).

-define(GTP_C,2123).
-define(LWAPP,12222).

-define(ECHO_REQUEST,1).
-define(ECHO_RESPONSE,2).
-define(CREATE_SESSION_REQUEST,32).
-define(CREATE_SESSION_RESPONSE,33).
